package com.c1202m.hibernate.entities;

import java.io.Serializable;

public class Server implements Serializable {

    private String serverName;
    private String port;
    private String userName;
    private String password;
    private String databaseName;
    public static final String configFile = "server.cfg";

    public Server() {
    }

    public Server(String serverName, String port, String userName, String password, String databaseName) {
        this.serverName = serverName;
        this.port = port;
        this.userName = userName;
        this.password = password;
        this.databaseName = databaseName;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDatabaseName() {
        return databaseName;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }
}
